package com.honey.compilation.sql.ddl;
import com.honey.core.builder.CharacterBuilder;
import com.honey.core.builder.CharacterBuilderFactory;
import com.honey.core.compiler.CompilationException;
/**
 * 修改表命令: ALERT TABLE
 * @author Administrator
 *
 */
abstract class AlterTableRename extends AlterTable{

	public AlterTableRename(String tableName) {
		super(tableName);	
	}

	@Override
	public CharacterBuilder compiledContent(int indentLevel ) throws CompilationException{
		CharacterBuilder answer = CharacterBuilderFactory.createC16StringBuilder() ;
		answer.append( super.compiledContent(indentLevel) ) ; 
		answer.append( "RENAME  TO " );
		
		return answer;
	}
}
